﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Emz.Core.Models
{
    public class Sector : EntityBase<int>
    {
        [Required]
        [StringLength(100)]
        public string Name { get; set; }

        public int PositionId { get; set; }
        public int ClientId { get; set; }
        public double WorkHours { get; set; }
        public double RatePerDay { get; set; }
        public double RatePerHour { get; set; }

        #region References
        public virtual Position Position { get; set; }
        public virtual Client Client { get; set; }
        #endregion
    }
}
